package com.atfunny.DTSSoftware.domain;

/**
 * @ClassName Printer
 * @Description Printer 设备
 * @Author AqFunny
 * @Date 2021/9/14 14:30
 * @Version 1.0
 */
public class Printer implements Equipment{
    private String name;    //打印机名
    private String type;    //机器类型

    public Printer() {

    }

    public Printer(String name, String type) {
        this.name = name;
        this.type = type;
    }

    @Override
    public String getDescription() {
        return name + "(" + type + ")";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
